package com.wetao.lib_common.bean.response;

import com.google.gson.Gson;
import com.wetao.lib_common.base.Base2Response;

import java.io.Serializable;
import java.util.List;

/**
 * author: zhouyh
 * created on: 2021/6/9 3:34 下午
 * description:讲题微课模块题目讲解类
 */
public class QuestionExplainListInfo extends Base2Response implements Serializable {


    /**
     * data : {"records":[{"id":135468,"questionId":197693,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56862,"examName":"第3课时 并集与交集","sortNo":9,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202299,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":135467,"questionId":197692,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56861,"examName":"第3课时 并集与交集","sortNo":8,"explainList":[{"explainName":"侯让涛老师","explainType":2,"id":202304,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_video_1611731469118.mp3,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_track_1611731469116.txt,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_0_pic_1611731315207.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_1_pic_1611731447565.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_2_pic_1611731451000.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_3_pic_1611731453847.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_4_pic_1611731457468.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_5_pic_1611731460054.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_6_pic_1611731462715.png","videoTime":0,"explain_name":"课时2 简单的三角恒等变形(一)第12题-侯让涛"},{"explainName":"平台的讲解","explainType":0,"id":202300,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/roADZ5X9wStX2qw3odORnwe0sZhuxZmg.mp3","videoTime":0,"explain_name":""}]},{"id":135462,"questionId":197687,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56856,"examName":"第3课时 并集与交集","sortNo":3,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202301,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":135461,"questionId":197686,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56855,"examName":"第3课时 并集与交集","sortNo":2,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202302,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":134049,"questionId":197694,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56863,"examName":"第3课时 并集与交集","sortNo":10,"explainList":[]},{"id":134047,"questionId":197692,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56861,"examName":"第3课时 并集与交集","sortNo":8,"explainList":[{"explainName":"侯让涛老师","explainType":2,"id":202304,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_video_1611731469118.mp3,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_track_1611731469116.txt,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_0_pic_1611731315207.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_1_pic_1611731447565.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_2_pic_1611731451000.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_3_pic_1611731453847.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_4_pic_1611731457468.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_5_pic_1611731460054.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_6_pic_1611731462715.png","videoTime":0,"explain_name":"课时2 简单的三角恒等变形(一)第12题-侯让涛"},{"explainName":"平台的讲解","explainType":0,"id":202300,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/roADZ5X9wStX2qw3odORnwe0sZhuxZmg.mp3","videoTime":0,"explain_name":""}]},{"id":134045,"questionId":197690,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56859,"examName":"第3课时 并集与交集","sortNo":6,"explainList":[]},{"id":134044,"questionId":197689,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56858,"examName":"第3课时 并集与交集","sortNo":5,"explainList":[]},{"id":134042,"questionId":197687,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56856,"examName":"第3课时 并集与交集","sortNo":3,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202301,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":133615,"questionId":197689,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:34:50","questionSameId":56858,"examName":"第3课时 并集与交集","sortNo":5,"explainList":[]}],"total":12,"size":10,"current":1,"pages":2}
     */

    private Data data;

    public static QuestionExplainListInfo objectFromData(String str) {

        return new Gson().fromJson(str, QuestionExplainListInfo.class);
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data implements Serializable {
        /**
         * records : [{"id":135468,"questionId":197693,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56862,"examName":"第3课时 并集与交集","sortNo":9,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202299,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":135467,"questionId":197692,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56861,"examName":"第3课时 并集与交集","sortNo":8,"explainList":[{"explainName":"侯让涛老师","explainType":2,"id":202304,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_video_1611731469118.mp3,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_track_1611731469116.txt,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_0_pic_1611731315207.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_1_pic_1611731447565.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_2_pic_1611731451000.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_3_pic_1611731453847.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_4_pic_1611731457468.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_5_pic_1611731460054.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_6_pic_1611731462715.png","videoTime":0,"explain_name":"课时2 简单的三角恒等变形(一)第12题-侯让涛"},{"explainName":"平台的讲解","explainType":0,"id":202300,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/roADZ5X9wStX2qw3odORnwe0sZhuxZmg.mp3","videoTime":0,"explain_name":""}]},{"id":135462,"questionId":197687,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56856,"examName":"第3课时 并集与交集","sortNo":3,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202301,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":135461,"questionId":197686,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 11:06:43","questionSameId":56855,"examName":"第3课时 并集与交集","sortNo":2,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202302,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":134049,"questionId":197694,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56863,"examName":"第3课时 并集与交集","sortNo":10,"explainList":[]},{"id":134047,"questionId":197692,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56861,"examName":"第3课时 并集与交集","sortNo":8,"explainList":[{"explainName":"侯让涛老师","explainType":2,"id":202304,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_video_1611731469118.mp3,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_track_1611731469116.txt,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_0_pic_1611731315207.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_1_pic_1611731447565.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_2_pic_1611731451000.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_3_pic_1611731453847.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_4_pic_1611731457468.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_5_pic_1611731460054.png,http://newpage-test.oss-cn-hangzhou.aliyuncs.com/2021-01-27/7552_1916_195821_6_pic_1611731462715.png","videoTime":0,"explain_name":"课时2 简单的三角恒等变形(一)第12题-侯让涛"},{"explainName":"平台的讲解","explainType":0,"id":202300,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/roADZ5X9wStX2qw3odORnwe0sZhuxZmg.mp3","videoTime":0,"explain_name":""}]},{"id":134045,"questionId":197690,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56859,"examName":"第3课时 并集与交集","sortNo":6,"explainList":[]},{"id":134044,"questionId":197689,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56858,"examName":"第3课时 并集与交集","sortNo":5,"explainList":[]},{"id":134042,"questionId":197687,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:52:47","questionSameId":56856,"examName":"第3课时 并集与交集","sortNo":3,"explainList":[{"explainName":"平台的讲解","explainType":1,"id":202301,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]},{"id":133615,"questionId":197689,"examId":7708,"isUndrestand":null,"createTime":"2021-02-25 09:34:50","questionSameId":56858,"examName":"第3课时 并集与交集","sortNo":5,"explainList":[]}]
         * total : 12
         * size : 10
         * current : 1
         * pages : 2
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Integer pages;
        private List<RecordsBean> records;

        public static Data objectFromData(String str) {

            return new Gson().fromJson(str, Data.class);
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean implements Serializable {
            /**
             * id : 135468
             * questionId : 197693
             * examId : 7708
             * isUndrestand : null
             * createTime : 2021-02-25 11:06:43
             * questionSameId : 56862
             * examName : 第3课时 并集与交集
             * sortNo : 9
             * explainList : [{"explainName":"平台的讲解","explainType":1,"id":202299,"explainUrl":"http://newpage-test.oss-cn-hangzhou.aliyuncs.com//2021-01-22/aiJCJ259FJ5a7jiFfsI0nI0D07dyjO5U.mp4","videoTime":0,"explain_name":""}]
             */

            private Integer id;
            private Integer questionId;
            private Integer examId;
            private Integer isUndrestand;
            private String createTime;
            private Integer questionSameId;
            private String examName;
            private Integer sortNo;
            private List<ExplainBean> explainList;

            public static RecordsBean objectFromData(String str) {

                return new Gson().fromJson(str, RecordsBean.class);
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getQuestionId() {
                return questionId;
            }

            public void setQuestionId(Integer questionId) {
                this.questionId = questionId;
            }

            public Integer getExamId() {
                return examId;
            }

            public void setExamId(Integer examId) {
                this.examId = examId;
            }

            public Integer getIsUnderstand() {
                return isUndrestand;
            }

            public void setIsUnderstand(Integer isUnderstand) {
                this.isUndrestand = isUnderstand;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Integer getQuestionSameId() {
                return questionSameId;
            }

            public void setQuestionSameId(Integer questionSameId) {
                this.questionSameId = questionSameId;
            }

            public String getExamName() {
                return examName;
            }

            public void setExamName(String examName) {
                this.examName = examName;
            }

            public Integer getSortNo() {
                return sortNo;
            }

            public void setSortNo(Integer sortNo) {
                this.sortNo = sortNo;
            }

            public List<ExplainBean> getExplainList() {
                return explainList;
            }

            public void setExplainList(List<ExplainBean> explainList) {
                this.explainList = explainList;
            }



            @Override
            public String toString() {
                return "RecordsBean{" +
                        "id=" + id +
                        ", questionId=" + questionId +
                        ", examId=" + examId +
                        ", isUnderstand=" + isUndrestand +
                        ", createTime='" + createTime + '\'' +
                        ", questionSameId=" + questionSameId +
                        ", examName='" + examName + '\'' +
                        ", sortNo=" + sortNo +
                        ", explainList=" + explainList +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "Data{" +
                    "total=" + total +
                    ", size=" + size +
                    ", current=" + current +
                    ", pages=" + pages +
                    ", records=" + records +
                    '}';
        }
    }
}
